{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="mb-20" method="get" action="{:\\think\\Url::build($Request.action)}">
    	<input type="text" class="input-text" style="width:250px" placeholder="用户名" name="uname" value="{$Request.param.uname}">
    	<input type="text" class="input-text" style="width:250px" placeholder="用户名" name="fname" value="{$Request.param.fname}">
        <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>
    <div class="cl pd-5 bg-1 bk-gray">
        <!--<span class="l">
            {tp:menu menu="add" /}
        </span>-->
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            <th width="80">消息发送者</th>
            <th width="80">消息接收者</th>
            <th width="80">发送内容</th>
            <th width="80">消息发送时间</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            <td>{$vo.uname}</td>
            <td>{$vo.fname}</td>
            <td>{$vo.content}</td>
            <td>{$vo.create_time}</td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page}</div>
</div>
{/block}